package com.xlh.param.courseTest;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhr 2019/2/18
 */
@Data
public class TestStartParam {

    @NotEmpty(message = "请选择班级或指定默认班级")
    private List<Long> classIds;

    private Boolean checkReportDuplicate;

    @Range(min = 0, max = 100, message = "查重百分比只能介于0-100之间的整数")
    private Integer reportDuplicatePercent;

    private String token;
}
